======================================================================
                         PED CASH WIRE v1.1
======================================================================
Created by: modmode
Target: GTA V Single Player (Story Mode)
======================================================================

DESCRIPTION:
Ped Cash Wire allows you to target any pedestrian in real-time using a 
raycasting system, mark them with a 3D indicator, and request a custom 
amount of money directly into your wallet via an intuitive F5 menu.
You can now physically exchange cash or perform bank wire transfers 
with NPCs using immersive animations.

CHANGELOG:
* v1.1: 
  - Added full support for custom banner textures via direct file path.
  - Implemented immersive animation system for cash exchanges and bank wires.
  - Added logic for physical cash/wire transfers to and from NPCs.
  - Optimized the UI rendering system to prevent visual glitches.
  - Improved path detection for script assets.
  - Enhanced error handling for missing files.
* v1.0: Initial release featuring the F5 interaction menu, real-time 
  pedestrian raycast targeting, and customized anonymous feed notifications.

======================================================================
1. REQUIREMENTS
======================================================================
Make sure you have the following core mods installed correctly in your 
GTA V main directory before installing this script:

* ScriptHookV (Latest version)
* ScriptHookVDotNet 3 (Latest version)
* LemonUI for SHVDN3 (LemonUI.SHVDN3.dll)
* OpenIV (For custom banner installation)

======================================================================
2. INSTALLATION
======================================================================
1. Open your main Grand Theft Auto V folder.
2. Locate the "scripts" folder (If you don't have one, create a folder 
   named "scripts" inside your main GTA V directory).
3. Copy and paste the following files into your "scripts" folder:
   - PedCashWire.dll

INSTALLING CUSTOM BANNER:
1. Open OpenIV and enable "Edit Mode".
2. Navigate to: Grand Theft Auto V\mods\update\update.rpf\x64\textures\script_txds.rpf\
3. Drag and drop your "commonmenu.ytd" (with the custom banner texture) 
   into this location to replace the original file. (Ensure you have a 
   backup of the original file before proceeding).

======================================================================
3. HOW TO USE IN-GAME
======================================================================
1. Press [ F5 ] to open the Ped Cash Wire menu.
2. Choose "Receive money" or "Send money" and select the method (Cash or Wire).
3. The menu will close; aim at any pedestrian and follow the on-screen prompts.
4. Press [ ENTER ] to lock on. A marker will appear over their head.
5. Type the amount and press [ ENTER ].
6. Your character and the NPC will perform the exchange animation, and 
   the transaction will be confirmed via a feed notification.
*Note: You can press [ ESC ] at any time during the selection phase to cancel.

======================================================================
4. CONFIGURATION (.INI)
======================================================================
The mod automatically generates a configuration file called 
"PedCashWire.ini" inside your "scripts" folder after the first launch.
If you wish to change the default menu activation key (F5):
1. Open "PedCashWire.ini" with any text editor (like Notepad).
2. Change "MenuKey = F5" to your preferred key (e.g., MenuKey = F6).
3. Save the file and reload your scripts in-game.

======================================================================
CREDITS & TERMS
======================================================================
* Mod created by modmode.
* Do not re-upload or distribute this file on other websites without 
  explicit permission.

Enjoy the mod!
======================================================================